$OpenBSD: patch-xl_main_py,v 1.4 2017/06/10 14:18:37 giovanni Exp $
Index: xl/main.py
--- xl/main.py.orig
+++ xl/main.py
@@ -686,6 +686,8 @@ class Exaile(object):
                 context.iteration(True)
             except:
                 pass
+            finally:
+                gtk.gdk.threads_leave()
 
     def get_version(self):
         """
